package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *     物业巡检计划信息表
 * </desc>
 */
@Data
@NoArgsConstructor
@ItlTables("property_inspect_plan_info")
@EqualsAndHashCode(callSuper = true)
public class PropertyInspectPlanInfoPO extends BasePO implements Serializable {
    @ItlField(value = "inspect_plan_id",logicKey = "key")
    private String inspectPlanId;           //巡检计划逻辑ID
    @ItlField("project_id")
    private String projectId;               //项目id
    @ItlField("inspect_plan_name")
    private String inspectPlanName;         //巡检计划名称
    @ItlField("inspect_line_id")
    private String inspectLineId;           //巡检路线，多个以逗号隔开
    @ItlField("start_time")
    private Date startTime;                 //计划开始时间
    @ItlField("end_time")
    private Date endTime;                   //计划结束时间
    @ItlField("inspect_user_id")
    private String inspectUserId;           //巡检人员ID，多个以逗号隔开
    @ItlField("program_type")
    private Integer programType;            //日程类型 1批量日程 2增量日程
    @ItlField("interval_time")
    private Integer intervalTime;           //巡检间隔
    @ItlField("rest_type")
    private Integer restType;               //休息类型 1固定休息 2指定休息
    @ItlField("rest_time_fixed")
    private String restTimeFixed;           //固定休息时间 多个以逗号隔开如 周一、周三
    @ItlField("rest_time_assign")
    private String restTimeAssign;          //指定休息时间 多个以逗号隔开
    @ItlField("create_user_id")
    private String createUserId;            //创建人id
    @ItlField("operate_user_id")
    private String operateUserId;           //操作人id
    @ItlField("group_id")
    private String groupId;                 //部门ID
    @ItlField("role_id")
    private String roleId;                  //角色ID

}
